package website.digitalocean.chapter10;

/**
 * @author: longhc@citycloud.com.cn
 * @since: 2023/2/10 16:53
 * @version: 1.0
 */
public abstract class Shape {
    protected Color color;

    /**
     * 指定颜色
     * @param color
     */
    public Shape(Color color) {
        this.color = color;
    }

    abstract void applyColor();
}
